package cn.tedu.charging.order.context;

import cn.tedu.charging.order.dao.mapper.ChargingBillFailMapper;
import cn.tedu.charging.order.dao.mapper.ChargingBillSuccessMapper;
import cn.tedu.charging.order.dao.repository.ProgressESRepository;
import cn.tedu.charging.order.feign.CostClient;
import cn.tedu.charging.order.webSocket.WebSocketServer;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

@Component
@Data
public class MqttContext {
    @Autowired
    private ChargingBillSuccessMapper chargingBillSuccessMapper;
    @Autowired
    private ChargingBillFailMapper chargingBillFailMapper;
    @Autowired
    private RedisTemplate redisTemplate;
    @Autowired
    private WebSocketServer webSocketServer;
    @Autowired
    private CostClient costClient;
    @Autowired
    private ProgressESRepository progressESRepository;
}
